package com.hzpd.hainan.api;

/**
 * Created by 猪猪侠 on 2017/6/30.
 */

public class InterfaceJsonfile {
    public static String SITEID = "21";//
//        public static final String PATH_ROOT="http://120.92.86.240:86/";
        public static final String PATH_ROOT="http://59.110.152.86:82/";
    public static final String POLITICAL="http://120.92.15.24/baoliao/index.php?appid=";
//    public static final String ROOT ="api.php?s=";
    public static final String ROOT ="api.php";

    //开屏图
    public static final String mAdPic = ROOT+"/Version/getAdCache";
    //检查更新
    public static final String UPDATA = ROOT+"/Versionv2/getVersionInfo";
    //栏目列表
    public static final String CHANNELLIST = ROOT+"/Type/getTypeListCache";

    /**
     * news
     */
    //新闻模块获取幻灯数据
    public static final String FLASH = ROOT + "/Flash/getFlashCache";
    // 新闻列表
    public static final String NEWSLIST =  ROOT+ "/News/getNewsListCache";
    //新闻详情分享地址
    public static final String BASEURL = PATH_ROOT+"index.php?s=/Public/newsview/nid/";
    //新闻详情投票地址
    public static final String VOTEURL = PATH_ROOT+"qilianshan_jhxt/api.php?s=/Vote/shenzhen_info/nid/";
    // 新闻详情接口
    public static final String NEWSDETAIL =  ROOT+ "/News/newsinfo";
    // 发表评论
    public static final String PUBLISHCOMMENT = ROOT + "/Comment/setComment";
    // 查看评论
    public static final String CHECKCOMMENT = ROOT + "/Comment/getCommentList";
    // 是否收藏
    public static final String ISCELLECTION = ROOT+ "/Favorite/isMyFavoritev3";

    // 添加收藏
    public static final String ADDCOLLECTION = ROOT+ "/Favorite/setFavorite";

    //图集详情
    public static final String ALBUMIINFO = ROOT + "/Album/getAlbumInfo";

    //新闻热门搜索
    public static final String HOTSEARCH = ROOT + "/Search/getHot";
    //新闻热门搜索
    public static final String HOTSEARCHNEW = ROOT + "/Search/getHotOther";
    // 搜索
    public static final String SEARCH = ROOT + "/Search/getSearch";


    //新闻列表统计接口
    public static final String NEWSCOUNT = ROOT + "/Stat/addView";

    // 专题栏目列表
    public static final String GETSUBJECTLIST = ROOT+ "/Subject/getSubjectList";
    // 专题栏目列表
    public static final String SUBJECTCOLUMNSLIST = ROOT+ "/Subject/getSubjectTypes";

    //专题栏目下的新闻列表
    public static final String SUBJECTNEWSLIST = ROOT+ "/Subject/getColumnNews";

    //获取不感兴趣列表
    public static final String NEWSLOSEINTERESTTAGS = ROOT+ "/News/getNewsTags";

    //获取不感兴趣列表
    public static final String NEWSLOSEINTEREST = ROOT+ "/NewsRecommend/doNotLike";
    /**
     * video
     */
    //视频列表
    public static final String VIDEOLIST = ROOT+"/Video/getVideoListCache";
    public static final String GETVIDEOINFO = ROOT+"/Video/getVideoInfo";
    /**
     * 数字报
     */

    public static final String NEW_SZB_WEBWIEW="http://59.110.152.86:81/cms_json/phpad/shuzibao/8/index.html ";
    public static final String NEW_SZB_WEBWIEW_ZANGWEN="http://120.24.208.98:7890/web/tibetnews";

    public static final String NEW_VIDO_WEBWIEW="http://120.24.208.98:7890/web/video";
    public static final String NEW_VIDO_WEBWIEW_ZANGWEN="http://120.24.208.98:7890/web/video?showTibetan=1";
//    public static final String NEW_VIDO_WEBWIEW="https://live.xinhuaapp.com/xcy/userhome.html?userId=149740748601356";
//    public static final String NEW_VIDO_WEBWIEW_ZANGWEN="https://live.xinhuaapp.com/xcy/userhome.html?userId=149740748601356";
    //服务
//    public static final String NEW_SERVICE_WEBWIEW="http://120.24.208.98:7890/web/category";
//    public static final String NEW_SERVICE_WEBWIEW_ZANGWEN="http://120.24.208.98:7890/web/category?showTibetan=1";

    //搜索
    public static final String NEW_SERVICE_WEBWIEW="http://120.24.208.98:7890/web/category";
    public static final String NEW_SERVICE_WEBWIEW_ZANGWEN="https://www.yongzin.com/";

    public static final String NEWSPAGER_ROOT="http://121.42.251.186/ordos_cms/";
    public static final String SITE="ordos";
    // 报刊信息
    public static final String NEWSPAGER = NEWSPAGER_ROOT + "cms_json/" + SITE
            + "/Newspaper/node";

    public static final String NEWSPAGER_DETAIL = "http://121.42.251.186/ordos_cms/cms_json/" + SITE
            + "/Newspaper/";
    public static final String NEWSPAGERDATE = NEWSPAGER_ROOT+"api.php?s=/Newspaper/getDate";
    /**
     * usercenter
     */
    //登陆
    public static final String LOGIN = ROOT + "/User/cmsLogin";
    //注册
    public static final String REGISTER = ROOT + "/User/cmsReg";
    //修改密码
    public static final String CHANGEPWD = ROOT + "/User/cmsChangePwd";
    //找回密码
    public static final String FINDPWD = ROOT + "/User/cmsResetPwd";
    public static final String PWDTYPE = "type";
    //第三方登录
    public static final String thirdLogin = ROOT + "/User/thirdLogin";
    //修改头像
    public static final String CHANGEPINFO = ROOT + "/User/cmsChangeUser";
    // 发表反馈
    public static final String feedback = ROOT + "/Configs/setFeedback";

    // 收藏列表
    public static final String COLLECTIONLIST = ROOT + "/Favorite/getFavoriteList";
    // 我的评论
    public static final String COMM_MY = ROOT + "/Comment/getMyComments";
    //用户协议
    public static final String USERLOG= "http://101.200.174.98/zqzx/userlog.html";

    //删除收藏
    public static final String COLLECTION_DELETE = ROOT + "/Favorite/setFavoriteDel";
    //添加浏览量
    public static final String ADDVISIT = ROOT + "/Stat/setView";
}
